{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>富头像上传编辑器</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="dropdown-toggle" data-toggle="dropdown" href="form_editors.html#">
                            <i class="fa fa-wrench"></i>
                        </a>
                        <ul class="dropdown-menu dropdown-user">
                            <li><a href="form_editors.html#">选项1</a>
                            </li>
                            <li><a href="form_editors.html#">选项2</a>
                            </li>
                        </ul>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <ul class="nav nav-tabs" id="avatar-tab">
                        <li class="active" id="upload"><a href="javascript:;">本地上传</a>
                        </li>
                        <li id="webcam"><a href="javascript:;">视频拍照</a>
                        </li>
                        <li id="albums"><a href="javascript:;">相册选取</a>
                        </li>
                    </ul>
                    <div class="m-t m-b">
                        <div id="flash1">
                            <p id="swf1">本组件需要安装Flash Player后才可使用，请从<a
                                    href="http://www.adobe.com/go/getflashplayer">这里</a>下载安装。</p>
                        </div>
                        <div id="editorPanelButtons" style="display:none">
                            <p class="m-t">
                                <!--<label class="checkbox-inline">
                                    <input type="checkbox" id="src_upload">是否上传原图片？</label>-->
                            </p>
                            <p>
                                <a href="javascript:;" class="btn btn-w-m btn-primary button_upload"><i
                                        class="fa fa-upload"></i> 修改</a>
                                <a href="javascript:;" class="btn btn-w-m btn-white button_cancel">取消</a>
                            </p>
                        </div>
                        <p id="webcamPanelButton" style="display:none">
                            <a href="javascript:;" class="btn btn-w-m btn-info button_shutter"><i
                                    class="fa fa-camera"></i> 拍照</a>
                        </p>
                        <div id="userAlbums" style="display:none">
                            <a href="/public/static/admin/assets/img/a1.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a1.jpg" alt="示例图片1"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a2.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a2.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a3.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a3.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a4.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a4.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a5.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a5.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a6.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a6.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a7.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a7.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a8.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a8.jpg" alt="示例图片2"/>
                            </a>
                            <a href="/public/static/admin/assets/img/a9.jpg" class="fancybox" title="选取该照片">
                                <img src="/public/static/admin/assets/img/a9.jpg" alt="示例图片2"/>
                            </a>>
                        </div>
                    </div>
                    <!--原头像-->
                    <input id="head_img" type="hidden" value="{$Think.session.head_img}">
                    <input id="user_id" type="hidden" value="{$Think.session.user['id']}">
                </div>
            </div>
        </div>
    </div>

</div>
</body>
{include file="public/footer" /}
<!-- fullavatareditor -->
<script type="text/javascript" src="/public/static/admin/assets/js/plugins/fullavatareditor/scripts/swfobject.js"></script>
<script type="text/javascript" src="/public/static/admin/assets/js/plugins/fullavatareditor/scripts/fullAvatarEditor.js"></script>
<script type="text/javascript" src="/public/static/admin/assets/js/plugins/fullavatareditor/scripts/jQuery.Cookie.js"></script>
<script type="text/javascript" src="/public/static/admin/assets/js/plugins/fullavatareditor/scripts/test.js"></script>
